package controller;

import com.teacher.Sjdbc;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.annotation.*;
import java.io.IOException;

@WebServlet(name = "TeacherServlet", value = "/teacher")
public class TeacherServlet extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        Sjdbc sjdbc=new Sjdbc();
        try {
            sjdbc.teacher();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
    }
}
